import {createRouter,createWebHistory} from 'vue-router'

const router=createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:"/",
            component:()=>import('../views/home.vue')
        },
        {
            path:"/b",
            component:()=>import('../views/time.vue')
        },
        {
            path:"/list",
            component:()=>import('../views/list.vue')
        },
        {
            path:"/list1/:a/:c/:x",
            component:()=>import('../views/list1.vue'),
            name:'list1'
        },
        {
            path:"/tima/:a/:b/:c",
            component:()=>import('../views/tima.vue'),
            name:'tima'
        },
        {
            path:"/tods",
            component:()=>import('../views/tods.vue')
        },
        {
            path:"/all",
            component:()=>import('../views/all.vue')
        },
        {
            path:"/active",
            component:()=>import('../views/active.vue')
        },
        {
            path:"/component",
            component:()=>import('../views/component.vue')
        }
    ]
})

export default router